package com.kx.service_exam.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ExaminationExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ExaminationExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_examination
     *
     * @mbggenerated Mon Mar 26 19:18:10 CST 2018
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andDurationIsNull() {
            addCriterion("duration is null");
            return (Criteria) this;
        }

        public Criteria andDurationIsNotNull() {
            addCriterion("duration is not null");
            return (Criteria) this;
        }

        public Criteria andDurationEqualTo(Integer value) {
            addCriterion("duration =", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotEqualTo(Integer value) {
            addCriterion("duration <>", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationGreaterThan(Integer value) {
            addCriterion("duration >", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationGreaterThanOrEqualTo(Integer value) {
            addCriterion("duration >=", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationLessThan(Integer value) {
            addCriterion("duration <", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationLessThanOrEqualTo(Integer value) {
            addCriterion("duration <=", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationIn(List<Integer> values) {
            addCriterion("duration in", values, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotIn(List<Integer> values) {
            addCriterion("duration not in", values, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationBetween(Integer value1, Integer value2) {
            addCriterion("duration between", value1, value2, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotBetween(Integer value1, Integer value2) {
            addCriterion("duration not between", value1, value2, "duration");
            return (Criteria) this;
        }

        public Criteria andShow_answerIsNull() {
            addCriterion("show_answer is null");
            return (Criteria) this;
        }

        public Criteria andShow_answerIsNotNull() {
            addCriterion("show_answer is not null");
            return (Criteria) this;
        }

        public Criteria andShow_answerEqualTo(Integer value) {
            addCriterion("show_answer =", value, "show_answer");
            return (Criteria) this;
        }

        public Criteria andShow_answerNotEqualTo(Integer value) {
            addCriterion("show_answer <>", value, "show_answer");
            return (Criteria) this;
        }

        public Criteria andShow_answerGreaterThan(Integer value) {
            addCriterion("show_answer >", value, "show_answer");
            return (Criteria) this;
        }

        public Criteria andShow_answerGreaterThanOrEqualTo(Integer value) {
            addCriterion("show_answer >=", value, "show_answer");
            return (Criteria) this;
        }

        public Criteria andShow_answerLessThan(Integer value) {
            addCriterion("show_answer <", value, "show_answer");
            return (Criteria) this;
        }

        public Criteria andShow_answerLessThanOrEqualTo(Integer value) {
            addCriterion("show_answer <=", value, "show_answer");
            return (Criteria) this;
        }

        public Criteria andShow_answerIn(List<Integer> values) {
            addCriterion("show_answer in", values, "show_answer");
            return (Criteria) this;
        }

        public Criteria andShow_answerNotIn(List<Integer> values) {
            addCriterion("show_answer not in", values, "show_answer");
            return (Criteria) this;
        }

        public Criteria andShow_answerBetween(Integer value1, Integer value2) {
            addCriterion("show_answer between", value1, value2, "show_answer");
            return (Criteria) this;
        }

        public Criteria andShow_answerNotBetween(Integer value1, Integer value2) {
            addCriterion("show_answer not between", value1, value2, "show_answer");
            return (Criteria) this;
        }

        public Criteria andShow_analysisIsNull() {
            addCriterion("show_analysis is null");
            return (Criteria) this;
        }

        public Criteria andShow_analysisIsNotNull() {
            addCriterion("show_analysis is not null");
            return (Criteria) this;
        }

        public Criteria andShow_analysisEqualTo(Integer value) {
            addCriterion("show_analysis =", value, "show_analysis");
            return (Criteria) this;
        }

        public Criteria andShow_analysisNotEqualTo(Integer value) {
            addCriterion("show_analysis <>", value, "show_analysis");
            return (Criteria) this;
        }

        public Criteria andShow_analysisGreaterThan(Integer value) {
            addCriterion("show_analysis >", value, "show_analysis");
            return (Criteria) this;
        }

        public Criteria andShow_analysisGreaterThanOrEqualTo(Integer value) {
            addCriterion("show_analysis >=", value, "show_analysis");
            return (Criteria) this;
        }

        public Criteria andShow_analysisLessThan(Integer value) {
            addCriterion("show_analysis <", value, "show_analysis");
            return (Criteria) this;
        }

        public Criteria andShow_analysisLessThanOrEqualTo(Integer value) {
            addCriterion("show_analysis <=", value, "show_analysis");
            return (Criteria) this;
        }

        public Criteria andShow_analysisIn(List<Integer> values) {
            addCriterion("show_analysis in", values, "show_analysis");
            return (Criteria) this;
        }

        public Criteria andShow_analysisNotIn(List<Integer> values) {
            addCriterion("show_analysis not in", values, "show_analysis");
            return (Criteria) this;
        }

        public Criteria andShow_analysisBetween(Integer value1, Integer value2) {
            addCriterion("show_analysis between", value1, value2, "show_analysis");
            return (Criteria) this;
        }

        public Criteria andShow_analysisNotBetween(Integer value1, Integer value2) {
            addCriterion("show_analysis not between", value1, value2, "show_analysis");
            return (Criteria) this;
        }

        public Criteria andStrategyIsNull() {
            addCriterion("strategy is null");
            return (Criteria) this;
        }

        public Criteria andStrategyIsNotNull() {
            addCriterion("strategy is not null");
            return (Criteria) this;
        }

        public Criteria andStrategyEqualTo(Integer value) {
            addCriterion("strategy =", value, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyNotEqualTo(Integer value) {
            addCriterion("strategy <>", value, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyGreaterThan(Integer value) {
            addCriterion("strategy >", value, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyGreaterThanOrEqualTo(Integer value) {
            addCriterion("strategy >=", value, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyLessThan(Integer value) {
            addCriterion("strategy <", value, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyLessThanOrEqualTo(Integer value) {
            addCriterion("strategy <=", value, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyIn(List<Integer> values) {
            addCriterion("strategy in", values, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyNotIn(List<Integer> values) {
            addCriterion("strategy not in", values, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyBetween(Integer value1, Integer value2) {
            addCriterion("strategy between", value1, value2, "strategy");
            return (Criteria) this;
        }

        public Criteria andStrategyNotBetween(Integer value1, Integer value2) {
            addCriterion("strategy not between", value1, value2, "strategy");
            return (Criteria) this;
        }

        public Criteria andSortIsNull() {
            addCriterion("sort is null");
            return (Criteria) this;
        }

        public Criteria andSortIsNotNull() {
            addCriterion("sort is not null");
            return (Criteria) this;
        }

        public Criteria andSortEqualTo(Integer value) {
            addCriterion("sort =", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotEqualTo(Integer value) {
            addCriterion("sort <>", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThan(Integer value) {
            addCriterion("sort >", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("sort >=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThan(Integer value) {
            addCriterion("sort <", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThanOrEqualTo(Integer value) {
            addCriterion("sort <=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortIn(List<Integer> values) {
            addCriterion("sort in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotIn(List<Integer> values) {
            addCriterion("sort not in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortBetween(Integer value1, Integer value2) {
            addCriterion("sort between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotBetween(Integer value1, Integer value2) {
            addCriterion("sort not between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andDelete_flagIsNull() {
            addCriterion("delete_flag is null");
            return (Criteria) this;
        }

        public Criteria andDelete_flagIsNotNull() {
            addCriterion("delete_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDelete_flagEqualTo(Integer value) {
            addCriterion("delete_flag =", value, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagNotEqualTo(Integer value) {
            addCriterion("delete_flag <>", value, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagGreaterThan(Integer value) {
            addCriterion("delete_flag >", value, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagGreaterThanOrEqualTo(Integer value) {
            addCriterion("delete_flag >=", value, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagLessThan(Integer value) {
            addCriterion("delete_flag <", value, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagLessThanOrEqualTo(Integer value) {
            addCriterion("delete_flag <=", value, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagIn(List<Integer> values) {
            addCriterion("delete_flag in", values, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagNotIn(List<Integer> values) {
            addCriterion("delete_flag not in", values, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagBetween(Integer value1, Integer value2) {
            addCriterion("delete_flag between", value1, value2, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andDelete_flagNotBetween(Integer value1, Integer value2) {
            addCriterion("delete_flag not between", value1, value2, "delete_flag");
            return (Criteria) this;
        }

        public Criteria andChoice_randomIsNull() {
            addCriterion("choice_random is null");
            return (Criteria) this;
        }

        public Criteria andChoice_randomIsNotNull() {
            addCriterion("choice_random is not null");
            return (Criteria) this;
        }

        public Criteria andChoice_randomEqualTo(Integer value) {
            addCriterion("choice_random =", value, "choice_random");
            return (Criteria) this;
        }

        public Criteria andChoice_randomNotEqualTo(Integer value) {
            addCriterion("choice_random <>", value, "choice_random");
            return (Criteria) this;
        }

        public Criteria andChoice_randomGreaterThan(Integer value) {
            addCriterion("choice_random >", value, "choice_random");
            return (Criteria) this;
        }

        public Criteria andChoice_randomGreaterThanOrEqualTo(Integer value) {
            addCriterion("choice_random >=", value, "choice_random");
            return (Criteria) this;
        }

        public Criteria andChoice_randomLessThan(Integer value) {
            addCriterion("choice_random <", value, "choice_random");
            return (Criteria) this;
        }

        public Criteria andChoice_randomLessThanOrEqualTo(Integer value) {
            addCriterion("choice_random <=", value, "choice_random");
            return (Criteria) this;
        }

        public Criteria andChoice_randomIn(List<Integer> values) {
            addCriterion("choice_random in", values, "choice_random");
            return (Criteria) this;
        }

        public Criteria andChoice_randomNotIn(List<Integer> values) {
            addCriterion("choice_random not in", values, "choice_random");
            return (Criteria) this;
        }

        public Criteria andChoice_randomBetween(Integer value1, Integer value2) {
            addCriterion("choice_random between", value1, value2, "choice_random");
            return (Criteria) this;
        }

        public Criteria andChoice_randomNotBetween(Integer value1, Integer value2) {
            addCriterion("choice_random not between", value1, value2, "choice_random");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_randomIsNull() {
            addCriterion("multi_choice_random is null");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_randomIsNotNull() {
            addCriterion("multi_choice_random is not null");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_randomEqualTo(Integer value) {
            addCriterion("multi_choice_random =", value, "multi_choice_random");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_randomNotEqualTo(Integer value) {
            addCriterion("multi_choice_random <>", value, "multi_choice_random");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_randomGreaterThan(Integer value) {
            addCriterion("multi_choice_random >", value, "multi_choice_random");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_randomGreaterThanOrEqualTo(Integer value) {
            addCriterion("multi_choice_random >=", value, "multi_choice_random");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_randomLessThan(Integer value) {
            addCriterion("multi_choice_random <", value, "multi_choice_random");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_randomLessThanOrEqualTo(Integer value) {
            addCriterion("multi_choice_random <=", value, "multi_choice_random");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_randomIn(List<Integer> values) {
            addCriterion("multi_choice_random in", values, "multi_choice_random");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_randomNotIn(List<Integer> values) {
            addCriterion("multi_choice_random not in", values, "multi_choice_random");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_randomBetween(Integer value1, Integer value2) {
            addCriterion("multi_choice_random between", value1, value2, "multi_choice_random");
            return (Criteria) this;
        }

        public Criteria andMulti_choice_randomNotBetween(Integer value1, Integer value2) {
            addCriterion("multi_choice_random not between", value1, value2, "multi_choice_random");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreate_timeEqualTo(Date value) {
            addCriterion("create_time =", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeGreaterThan(Date value) {
            addCriterion("create_time >", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeLessThan(Date value) {
            addCriterion("create_time <", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIn(List<Date> values) {
            addCriterion("create_time in", values, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNull() {
            addCriterion("creator is null");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNotNull() {
            addCriterion("creator is not null");
            return (Criteria) this;
        }

        public Criteria andCreatorEqualTo(String value) {
            addCriterion("creator =", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotEqualTo(String value) {
            addCriterion("creator <>", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThan(String value) {
            addCriterion("creator >", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThanOrEqualTo(String value) {
            addCriterion("creator >=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThan(String value) {
            addCriterion("creator <", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThanOrEqualTo(String value) {
            addCriterion("creator <=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLike(String value) {
            addCriterion("creator like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotLike(String value) {
            addCriterion("creator not like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorIn(List<String> values) {
            addCriterion("creator in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotIn(List<String> values) {
            addCriterion("creator not in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorBetween(String value1, String value2) {
            addCriterion("creator between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotBetween(String value1, String value2) {
            addCriterion("creator not between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andModify_timeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModify_timeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModify_timeEqualTo(Date value) {
            addCriterion("modify_time =", value, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeNotEqualTo(Date value) {
            addCriterion("modify_time <>", value, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeGreaterThan(Date value) {
            addCriterion("modify_time >", value, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeGreaterThanOrEqualTo(Date value) {
            addCriterion("modify_time >=", value, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeLessThan(Date value) {
            addCriterion("modify_time <", value, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeLessThanOrEqualTo(Date value) {
            addCriterion("modify_time <=", value, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeIn(List<Date> values) {
            addCriterion("modify_time in", values, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeNotIn(List<Date> values) {
            addCriterion("modify_time not in", values, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeBetween(Date value1, Date value2) {
            addCriterion("modify_time between", value1, value2, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModify_timeNotBetween(Date value1, Date value2) {
            addCriterion("modify_time not between", value1, value2, "modify_time");
            return (Criteria) this;
        }

        public Criteria andModifierIsNull() {
            addCriterion("modifier is null");
            return (Criteria) this;
        }

        public Criteria andModifierIsNotNull() {
            addCriterion("modifier is not null");
            return (Criteria) this;
        }

        public Criteria andModifierEqualTo(String value) {
            addCriterion("modifier =", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotEqualTo(String value) {
            addCriterion("modifier <>", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierGreaterThan(String value) {
            addCriterion("modifier >", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierGreaterThanOrEqualTo(String value) {
            addCriterion("modifier >=", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLessThan(String value) {
            addCriterion("modifier <", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLessThanOrEqualTo(String value) {
            addCriterion("modifier <=", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierLike(String value) {
            addCriterion("modifier like", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotLike(String value) {
            addCriterion("modifier not like", value, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierIn(List<String> values) {
            addCriterion("modifier in", values, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotIn(List<String> values) {
            addCriterion("modifier not in", values, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierBetween(String value1, String value2) {
            addCriterion("modifier between", value1, value2, "modifier");
            return (Criteria) this;
        }

        public Criteria andModifierNotBetween(String value1, String value2) {
            addCriterion("modifier not between", value1, value2, "modifier");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_examination
     *
     * @mbggenerated do_not_delete_during_merge Mon Mar 26 19:18:10 CST 2018
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}